﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace ZhimeiSoft.CharmManager.DOL
{
    public class DBEntityTimeCallToDoList : DBEntityBase
    {
        /// <summary>
        /// 返回表名称
        /// </summary>
        /// <returns></returns>
        public override string GetTableName()
        {
            return "TIMECALLTODOLIST";
        }
        public DBEntityTimeCallToDoList()
            : base()
        {
        }
        public DBEntityTimeCallToDoList(DataRow drRow)
        {
            this.TIMECALLID = Convert.ToInt32(drRow[DBEntityTimeCallToDoList.FieldName.TIMECALLID]);
            this.TLISTID = Convert.ToInt32(drRow[DBEntityTimeCallToDoList.FieldName.TLISTID]);
        }
        /// <summary>
        /// 提醒表ID
        /// </summary>
        public int TIMECALLID{get; set;}
        /// <summary>
        /// 代办事项表ID
        /// </summary>
        public int TLISTID { get; set; }
        /// <summary>
        /// 字段名称
        /// </summary>
        public static class FieldName
        {
            /// <summary>
            /// 提醒表ID
            /// </summary>
            public const string TIMECALLID = "TIMECALLID";
            /// <summary>
            /// 代办事项表ID
            /// </summary>
            public const string TLISTID = "TLISTID";
        }
    }
}
